package com.eds.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class DashboardTrendsDTO {
    private Trends trends;

    @Data
    public static class Trends {
        private List<DailyUser> dailyUsers;
        private List<DailyOrder> dailyOrders;
        private List<DailyRevenue> dailyRevenue;
    }

    @Data
    public static class DailyUser {
        private String date;
        private Integer count;
    }

    @Data
    public static class DailyOrder {
        private String date;
        private Integer count;
        private BigDecimal amount;
    }

    @Data
    public static class DailyRevenue {
        private String date;
        private BigDecimal amount;
    }
}